package com.zx.erp.market.mapper;

import com.zx.erp.market.bean.Orderdetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 订单详情表 dao层 接口
 * @author 刘升
 */
@Mapper
@Repository
public interface OrderdetailsMapper {


    /**
     * 删除方法
     * @param orderid
     * @return
     */
    boolean deleteByPrimaryKey(String orderid);
    /**
     * 添加方法（长）
     * @param record
     * @return
     */
    boolean insertSelective(Orderdetails record);

    List<Orderdetails> selectByOrderId(String orderid);


    List<Orderdetails> selectAllFZ(@Param("customid") Integer customid);

    boolean deleteOrderDsOrderId(String orderid);
}